<div class="pri-news table">
            	<h2>Tin nhắn <span><a href="#">Xem tất cả</a></span></h2>
                <?php foreach($model as $value): ?>
             <table cellpadding="3" cellspacing="3" border="0" width="100%">
                  <tr class="new">
                 	<td width="15%"><?php echo $value->name; ?></td>
                    <td><a href="#"><?php echo $value->content; ?></a></td>
                    <td width="15%"><?php 
                        $date = new DateTime($value->date);
                        echo $date->format('d-m-Y');
                    ?></td>
                  </tr></table>
                  <?php endforeach; ?>
            </div>